package com.probiz.estore.sales.service;

import java.util.List;

import com.probiz.estore.common.model.sales.RecommendedType;
import com.probiz.estore.core.service.GenericManager;
import com.probiz.estore.sales.model.RecommendedTypeSearchCriteria;


/**
 * RecommendedType Business Delegate (Proxy) Interface to handle communication between web and
 * persistence layer.
 * Developer introduced interfaces should be declared here. Won't get overwritten.
 *
 */
public interface RecommendedTypeManager extends GenericManager<RecommendedType> {
	//根据typeName获得推荐类型
    public RecommendedType getRecommendedTypeByName(String typeName);
    //根据搜索条件获得推荐类型
    public List getRecommendedTypesBySearchCriteria(RecommendedTypeSearchCriteria recommendedTypeSearchCriteria);
    /**
     * 根据推荐类型id获得前台推荐类型uri
     * @param recommendedTypeId
     * @return
     */
    public String getUriByRecommendedTypeId(Integer recommendedTypeId);
    /**
     * 根据前台uri获得id
     *
     * @param uri 前台uri
     * @return 
     */
    public Integer getRecommendedTypeIdByUri(String uri);
    
    
}
